<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <title>找回密码</title>

  <link href="${pageContext.request.contextPath}/css/common.css" rel="stylesheet" type="text/css"/>
  <link href="${pageContext.request.contextPath}/css/login.css" rel="stylesheet" type="text/css"/>
  <script type="text/javascript" src="${pageContext.request.contextPath}/js/login.js"></script>
  <link rel="shortcut icon" href="${pageContext.request.contextPath}/images/tit.ico" type="image/x-icon" />

</head>
<body>

<div class="container header">
  <div class="span5">
    <div class="logo">
      <a href="${pageContext.request.contextPath}/index.do">
        <img src="${pageContext.request.contextPath}/image/r___________renleipic_01/logo2.gif" alt="seven商城"/>
      </a>
    </div>
  </div>
  <div class="span9">
    <div class="headerAd">
      <img src="${pageContext.request.contextPath}/image/header.jpg" width="320" height="50" alt="正品保障" title="正品保障"/>
    </div>	</div>
  <%@ include file="menu.jsp"%>
</div>	<div class="container login">
  <div class="span12">
    <div class="ad">
      <img src="${pageContext.request.contextPath}/image/login.jpg" width="500" height="330" alt="找回密码" title="找回密码"/>
    </div>		</div>
  <div class="span12 last">
    <div class="wrap">
      <div class="main">
        <div class="title">
          <strong>找回密码</strong>USER LOGIN
        </div>

        <%--显示错误信息 --%>
        <font style="color:red;text-align:center;"><b></b></font>
        <span style="color:red;font-weight:bold;text-align:center;"></span></center>
        <form id="loginForm" action="${pageContext.request.contextPath}/updatePassword.do" onsubmit="return check();" method="post" novalidate="novalidate">
          <%--传用户的状态 ,通过ajax获取--%>
          <input type="hidden" name="state" id="state"/>
          <table>
            <span id="showMsg" style="color: red">${showMsg}</span>
            <tbody><tr>

              <th>
                用户名:
              </th>
              <td>
                <input type="text" id="username" onblur="getState()"  name="username" class="text" maxlength="20"/>
                <span id="u" style="color:red;font-weight:bold;"></span>
              </td>
            </tr>
            <tr>
              <th>
                新&nbsp;密&nbsp;码:
              </th>
              <td>
                <input type="password" id="password" name="password"  class="text" maxlength="20" autocomplete="off"/>
                <span id="p" style="color:red; font-weight:bold;"></span>
              </td>
            </tr>
            <tr>
              <th>
                Token:
              </th>
              <td>
                <input type="text" id="Token" name="Token"  class="text"  autocomplete="off"/>
                <span id="T" style="color:red; font-weight:bold;"></span>
              </td>
            </tr>

            <tr>
              <th>&nbsp;

              </th>
              <td>
                <input type="submit" class="submit" value="修改"/>
              </td>
            </tr>
            <tr class="register">
              <th>&nbsp;

              </th>
              <td>
                <dl>
                  <dt>还没有注册账号？</dt>
                  <dd>
                    立即注册即可体验在线购物！
                    <a href="${pageContext.request.contextPath}/regist.do">立即注册</a>
                  </dd>
                </dl>
              </td>
            </tr>
            </tbody></table>
        </form>
      </div>
    </div>
  </div>
</div>
<%--尾部 --%>
<%@ include file="bottom.jsp" %>
</body></html>